#include "dialog.h"
#include "ui_dialog.h"

Dialog::Dialog(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::Dialog)
{
    ui->setupUi(this);
    setWindowTitle("ssss");
}

Dialog::~Dialog()
{
    delete ui;
}


//void Dialog::on_pushButton_clicked()
//{
//    QDialog* d = new QDialog(this);
//    d->setWindowTitle("the is title");
//    QPushButton* p = new QPushButton(this);

//   // d->setText("sssssss");
//    d->resize(1000,1000);
//   // d->show("hello word");
//    p->setText("hello wprd");
//    d->addActions(p);
//    d->setAttribute(Qt::WA_DeleteOnClose);

//}
